﻿using System.ComponentModel;
using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tTransaction")]
[XmlRoot("transaction", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class Transaction : SubProcess
{
    /// <remarks/>
    [XmlAttribute("method")]
    [DefaultValue("##Compensate")]
    public string Method { get; set; } = "##Compensate";
}
